package com.ym.ms;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * main
 * @author zetor
 */
@Slf4j
@SpringBootApplication
@ServletComponentScan
@ComponentScan(basePackages={"com.ym.ms","com.cdk8s.tkey.client.rest"})
public class ClientApp implements CommandLineRunner {
    public static void main(String[] args) {
        SpringApplication.run(ClientApp.class, args);
    }

    @Override
    public void run(String... strings) {
        log.info("=================================Application Startup Success=================================");
    }
}
